SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44699: TITLE statement incorrectly acting as a step boundary and resetting &SYSERR value

DetailsAboutRate It

When running SAS interactively in the windowing environment the TITLE statement incorrectly acts as a step boundary and resets the &SYSERR value. This problem does not occur when running in batch mode.

In the following example program a warning message is produced in the first DATA step and sets &SYSERR=4. The &SYSERR value should be reset to 0 (zero) only at a step boundary. The TITLE statement should have no effect on the &SYSERR value but it is causing &SYSERR to be reset to 0.

   /*The following DATA step produces a*/         
   /*warning message and sets &SYSERR=4*/         
                                               
   data test;                                     
     x="abc";                                       
     length x $ 4;                                  
   run;                                           
                                               
   /*The %PUT displays &SYSERR value of 4*/       
                                               
   %put &syserr;                                  
                                               
   /*The TITLE statement incorrectly acts as a*/  
   /*step boundary resetting the &SYSERR value*/  
                                               
   title 'this is the title';                     
                                               
   /*The %PUT shows &SYSERR was reset to 0*/ 
                                               
   %put &syserr;  

This problem will be fixed in a future SAS release.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASz/OS9.219.49.4 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.219.49.4 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.219.49.4 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.219.49.4 TS1M0
Microsoft Windows XP 64-bit Edition9.219.49.4 TS1M0
Microsoft® Windows® for x649.219.49.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.219.49.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.219.49.4 TS1M0
Microsoft Windows Server 2003 Standard Edition9.219.49.4 TS1M0
Microsoft Windows Server 2003 for x649.219.49.4 TS1M0
Microsoft Windows Server 20089.219.49.4 TS1M0
Microsoft Windows Server 2008 for x649.219.49.4 TS1M0
Microsoft Windows XP Professional9.219.49.4 TS1M0
Windows 7 Home Premium 32 bit9.21
Windows 7 Home Premium x649.21
Windows 7 Professional 32 bit9.21
Windows 7 Professional x649.21
Windows Vista9.219.49.4 TS1M0
Windows Vista for x649.219.49.4 TS1M0
64-bit Enabled AIX9.219.49.4 TS1M0
64-bit Enabled HP-UX9.219.49.4 TS1M0
64-bit Enabled Solaris9.219.49.4 TS1M0
HP-UX IPF9.219.49.4 TS1M0
Linux9.219.49.4 TS1M0
Linux for x649.219.49.4 TS1M0
OpenVMS on HP Integrity9.219.49.4 TS1M0
Solaris for x649.219.49.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.